package site.qjdb.pojo;

import java.util.Date;

/**
 * 	回复
 * 
 * */
public class Reply {
	private Integer rid; // 回复id
	private String content; // 回复内容
	private Date time; // 发布回复的时间
	private User user; // 发布回复的用户
	private Integer type; // 回复类型，0：留言，1：求购
	private Integer superiorId; // 表示此项从属于哪个id
	private Integer isDel; // 是否删除，0：未删除，1：已删除
	private Object superiorObj; // 上级对应的实体类

	public Reply() {
	}

	public Integer getRid() {
		return rid;
	}

	public void setRid(Integer rid) {
		this.rid = rid;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Date getTime() {
		return time;
	}

	public void setTime(Date time) {
		this.time = time;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Integer getSuperiorId() {
		return superiorId;
	}

	public void setSuperiorId(Integer superiorId) {
		this.superiorId = superiorId;
	}

	public Integer getIsDel() {
		return isDel;
	}

	public void setIsDel(Integer isDel) {
		this.isDel = isDel;
	}

	public Object getSuperiorObj() {
		return superiorObj;
	}

	public void setSuperiorObj(Object superiorObj) {
		this.superiorObj = superiorObj;
	}

	@Override
	public String toString() {
		return "Reply [rid=" + rid + ", content=" + content + ", time=" + time + ", user=" + user + ", type=" + type
				+ ", superiorId=" + superiorId + ", isDel=" + isDel + ", superiorObj=" + superiorObj + "]";
	}

}
